<layout name="layout" />

<section class="wrapper marc food_list">
    <section class="left l">
        <figcaption>附近的店铺</figcaption>
        <div class="food_list">
            <volist name="list" id="vo">
                <dl class="list">
                    <dt>
                    <a href="{:U('shop/'.$vo['shop_id'])}" target="_blank">
                        <img src="{$vo.shop_thumb|default='__PUBLIC_DC__/skin/img/food_list_store.png'}" width="30" height="46" alt="" />
                    </a>
                    </dt>
                    <dd class="address">
                        <p class="tit">
                            <a href="{:U('shop/'.$vo['shop_id'])}" target="_blank">{$vo.shop_name}</a>
                        </p>
                        <p class="tag">
                            <span class="tit">标签:</span>
                    <php> $tag = explode(",", $vo['shop_tag']); </php>
                    <volist name="tag" id="tag_value">
                        <if condition ="!empty($tag_value)">
                            <a href="{:U('/tag/'.$tag_value)}" target="_blank">{$tag_value}</a>
                        </if>
                    </volist>
                    </p>
                    <p class="address">
                        <span class="tit">地址:</span>
                        <span>{$vo.shop_address}</span>
                    </p>
                    </dd>
                    <dd class="grade">
                        <span class="star star_{$vo.shop_score|intval}"></span>
                        <span class="remark">
                            <span>{$vo.shop_reply_num}</span>
                            点评
                        </span>
                    </dd>
                </dl>
            </volist>
            <div class="clear" style="height:10px;"></div>
            <div class="pager">{$page}</div>
        </div>
    </section>
    <section class="right r">
        <figcaption>今日推荐</figcaption>
        <getData model="Cai" field="*" name="art" id="row" limit="5" where=" 1 = 1" order="cai_id DESC">
            <dl class="list">
                <dt>
                <a href="{:U('Cai/'.$row['cai_id'])}" target="_blank">
                    <img src="{$row.cai_thumb}" width="171" height="111" alt="{$row.cai_name}" />
                </a>
                </dt>
                <dd>
                    <p class="tit">
                        <a href="{:U('Cai/'.$row['cai_id'])}" target="_blank">{$row.cai_name}</a>
                    </p>
                    <p class="price">
                        <span>{$row.cai_price|format_price}</span>
                        元
                    </p>
                    <span class="star star_5"></span>
                    <p class="remark">
                        <a href="{:U('Cai/'.$row['cai_id'])}" target="_blank">
                            <span>{$row.cai_reply_num}</span>
                            点评
                        </a>
                    </p>
                    <a class="order" href="{:U('Cai/'.$row['cai_id'])}" target="_blank">我要订购</a>
                </dd>
            </dl>
        </getData>
    </section>
</section>
<div class="clear"></div>